//
//  HQHomeViewController.m
//  wbOC
//
//  Created by sheji on 16/3/1.
//  Copyright (c) 2016年 sheji. All rights reserved.
//

#import "HQHomeViewController.h"
#import "HQTempViewController.h"

@interface HQHomeViewController ()

@end

@implementation HQHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}

#pragma mark - 监听方法
-(void)friendSearch
{
//    NSLog(@"%s",__FUNCTION__);
    HQTempViewController *vc = [[HQTempViewController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}

#pragma mark - 设置界面
-(void)setupUI
{
    //设置导航栏按钮
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonWithTitle:nil imageName:@"navigationbar_friendsearch" target:self action:@selector(friendSearch)];
    
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem barButtonWithTitle:nil imageName:@"navigationbar_pop" target:nil action:nil];
}

@end
